﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Mvc;

namespace CloudStorageLight.Core.Web
{
    public class FileTransferWorkTaskVM
    {
        public List<FileItem> DownloadableFiles { get; set; }

        public List<FileItem> UploadedFiles { get; set; }

        public string Id { get { return WorkTask.RowKey; } }
            
        public FileTransferWorkTask WorkTask { get; set; }

        public BlobUser User { get; set; }

        public FileTransferWorkTaskVM(FileTransferWorkTask task, BlobUser user)
        {
            this.WorkTask = task;
            this.User = user;
            DownloadableFiles = new List<FileItem>();
            UploadedFiles = new List<FileItem>();
        }

    }
}
